package com.API.dal.providers;

import com.API.dal.entities.Costs;
import com.API.dal.entities.CostsTypes;
import com.API.dal.entities.Equipments;

import java.util.List;

/**
 * Интерфейс работы с затратами по проектам
 *
*/
public interface CostsProvider {
    void addCost(Costs cost);
    void updateCost(Costs cost);
    List<CostsTypes> getCostsTypes();
    CostsTypes getCostTypeByName(String name);
    CostsTypes getCostsTypesById(int costType_id);
    List<Costs> getEmployeesCosts(int project_id);
    List<Costs> getCosts();
    List<Costs> getProjectCosts(int project_id);
    List<Costs> getProjectCosts(String project_name);
    List<Costs> getEquipmentCosts(int equipment_id);
    List<Costs> getEquipmentCosts(String equipment_name);
    List<Costs> getEmployeeCosts(String employee_name);
    List<Costs> getEmployeeCosts(int employee_id);
}
